var URL = window.href;
function init(){
	var WIN_HEIGHT = $(window).height();
	$('#bodyCont .desc').css('margin-top', WIN_HEIGHT*0.12);
}

/********************/
function isset(){
	var a = arguments,
	l = a.length,
	i = 0,
	undef;
	if (l === 0) {
		throw new Error('Empty isset');
	}
	while (i !== l) {
		if (a[i] === undef || a[i] === null) {
			return false;
		}
		i++;
	}
	return true;
}
function to(s){window.location.href=s;}
function strstr (haystack, needle, bool) {
	var pos = 0;
	haystack += '';
	pos = haystack.indexOf(needle);
	if (pos == -1) {
	return false;
	} else {
	if (bool) {
	return haystack.substr(0, pos);
	} else {
	return haystack.slice(pos);
	}
	}
}
